package com.eco.fanliapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 预约抢购表
 * </p>
 *
 * @author jobob
 * @since 2019-09-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SyTimePeriodAppointment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "table_id", type = IdType.AUTO)
    private Integer tableId;

    /**
     * 商品id
     */
    private Long itemId;

    /**
     * 商品时段对照表id
     */
    private Integer timePeriodId;

    /**
     * 所属日期
     */
    private Date itemPriceDate;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否启用
     */
    private Integer enable;

    /**
     * 是否删除
     */
    private Integer deleted;


}
